package com.xxx.seckill.validator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: xxx
 * @Date: 2023/1/13 19:15
 * @Description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface AccessLimit {
    
    int second();
    
    int maxCount();
    
    boolean needLogin() default true;
}
